package webManage;

import javax.servlet.ServletContext;

public class UrlTools {
	public static final String WEBROOTURL = "http://localhost/";
	public static final String WEBROOTURL2 = "http://gjs1994.xicp.net/";
	public static String createUserHomePageUrl(String path, String id) {
		return path + "u/" + id;
	}
	public static String getWebRootUrl(ServletContext app) {
		return app.getInitParameter("webRootUrl");
	}
}
